﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KhungDangNhap.ascx.cs" Inherits="NHOMA2_DVLH.Controls.KhungDangNhap" %>
<div id="login-box">
    <asp:Login ID="Login" runat="server" onloggedin="Login_LoggedIn" 
        onloginerror="Login_LoginError">
        <LayoutTemplate>
            <table cellpadding="1" cellspacing="0" style="border-collapse: collapse;">
                <tr>
                    <td>
                        <table cellpadding="0">
                            <tr>
                                <td>
                                    <span class="white strong">Tài khoản:</span>
                                </td>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" class="txt"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="ctl00$Login1">*</asp:RequiredFieldValidator>
                                    <asp:CheckBox ID="Remember" class="checkbox" runat="server" Text="Ghi nhớ" 
                                        TabIndex="3" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span class="white strong">Mật khẩu:</span>
                                </td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" class="txt" TextMode="Password" 
                                        TabIndex="1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                        ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="ctl00$Login1">*</asp:RequiredFieldValidator>
                                    <asp:Button ID="LoginButton" class="submit-button" runat="server" CommandName="Login"
                                        Text="Đăng Nhập" ValidationGroup="ctl00$Login1" TabIndex="4" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </LayoutTemplate>
    </asp:Login>
</div>
